import request from '@/utils/request'

// 查询机具pos机监控状态列表
export function listPlatPosMonitor(query) {
  return request({
    url: '/bus/platPosMonitor/list',
    method: 'get',
    params: query
  })
}

// 查询机具pos机监控状态详细
export function getPlatPosMonitor(id) {
  return request({
    url: '/bus/platPosMonitor/' + id,
    method: 'get'
  })
}

// 新增机具pos机监控状态
export function addPlatPosMonitor(data) {
  return request({
    url: '/bus/platPosMonitor',
    method: 'post',
    data: data
  })
}

// 修改机具pos机监控状态
export function updatePlatPosMonitor(data) {
  return request({
    url: '/bus/platPosMonitor',
    method: 'put',
    data: data
  })
}

// 删除机具pos机监控状态
export function delPlatPosMonitor(id) {
  return request({
    url: '/bus/platPosMonitor/' + id,
    method: 'delete'
  })
}
